home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / pc / DirectX SDK / DXSDK / samples / Multimedia / DirectInput / DIConfig / iuiframe.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-10-08  |  1.2 KB  |  42 lines

  1. //-----------------------------------------------------------------------------
  2. // File: iuiframe.h
  3. //
  4. // Desc: Defines the interface of IDIConfigUIFrameWindow, which is used by
  5. //       CConfigWnd.
  6. //
  7. // Copyright (C) 1999-2001 Microsoft Corporation. All Rights Reserved.
  8. //-----------------------------------------------------------------------------
  9.  
  10. #ifndef __IUIFRAME_H__
  11. #define __IUIFRAME_H__
  12.  
  13.  
  14. class IDIConfigUIFrameWindow
  15. {
  16. public:
  17.     // Reset Entire Configuration
  18.     STDMETHOD (Reset) () PURE;
  19.  
  20.     // Assignment Querying.  GuidInstance is the guid of the device initiating the query.
  21.     STDMETHOD (QueryActionAssignedAnywhere) (GUID GuidInstance, int i) PURE;
  22.  
  23.     // Genre Control
  24.     STDMETHOD_(int, GetNumGenres) () PURE;
  25.     STDMETHOD (SetCurGenre) (int i) PURE;
  26.     STDMETHOD_(int, GetCurGenre) () PURE;
  27.  
  28.     // User Control
  29.     STDMETHOD_(int, GetNumUsers) () PURE;
  30.     STDMETHOD (SetCurUser) (int nPage, int nUser) PURE;
  31.     STDMETHOD_(int, GetCurUser) (int nPage) PURE;
  32.  
  33.     // ActionFormat Access
  34.     STDMETHOD (GetActionFormatFromInstanceGuid) (LPDIACTIONFORMATW *lplpAcFor, REFGUID) PURE;
  35.  
  36.     // Main HWND Access
  37.     STDMETHOD_(HWND, GetMainHWND) () PURE;
  38. };
  39.  
  40.  
  41. #endif //__IUIFRAME_H__
  42.